<?php $this->load->view('flyguam/_header'); ?>
<script language="javascript" type="text/javascript" src="<?=site_url("home/get_lang")?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/city.js')?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/flight.js')?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/formValidator_min.js')?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/formValidatorRegex.js')?>"></script>



<div class="Mainguam">
	<div class="homebox1guam">
	<table width=100% border=0 >
		<tr height=42>
			<td style="background:#E8E8E8;padding:0 0px 0 25px" width=40px  >
				<img src="<?php echo site_url()?>images/A2.gif" />
			</td>
			<td style="background:#E8E8E8;" width=478 ><span class="spred10"><?=$Find_a_Flight?></span></td>
		</tr>
		<tr>
			<td colspan=2 style="padding:28px 0 0 19px" ><?php
			echo form_open('flyguam/flight',array('id' => 'fmflight'));
			echo form_hidden("airline","");
			echo form_hidden("isback","0");
			echo form_hidden("goflightdata","");
			?><table border=0>
				<tr>
					<td width=80 ><?=$home_Flight_Type ?></td>
					<td width=164 ><?php 
					$data = array(
					    'name'        => 'flighttype',
					    'id'          => 'txflighttrip1',
					    'value'       => '1',
					    'checked'     => TRUE,
					    'onclick'	   =>'enabledbackround(0)'
					    );
					echo form_radio($data);
					echo form_label($home_oneway,'txflighttrip1');
					
					?></td>
					<td colspan=2 ><?php 
					$data = array(
					    'name'        => 'flighttype',
					    'id'          => 'txflighttrip2',
					    'value'       => '2',
					    'checked'     => FALSE,
					    'onclick'	   =>'enabledbackround(1)'
					    );
					echo form_radio($data);
					echo form_label($home_roundtrip,'txflighttrip2');
					
					?></td>
				</tr>
				<tr height=55 >
					<td width=80 ><?=$home_From ?>:</td>
					<td width=180 ><?php
					$arlang=array(
						"GUM" =>"Guam",
						"SPN" =>"Saipan",
						"HKG" =>"Hongkong"
					);
					echo form_dropdown("FromCityCode",$arlang,"HKG",'style="width:154px" onchange=""')
					?><input type=hidden id="txFromCity" name="FromCity"  value="">

				 	</td>
					<td width=60><?=$home_To ?>:</td>
					<td width=180 ><?php
					$arlang=array(
						"GUM" =>"Guam",
						"SPN" =>"Saipan",
						"HKG" =>"Hongkong"
					);
					echo form_dropdown("DestCityCode",$arlang,"GUM",'style="width:154px" onchange=""')
					?>
					<input type=hidden id="txDestCity" name="DestCity" value=""></td>
				</tr>
				<tr height=55 >
					<td ><?=$home_Depart ?>:</td>
					<td><input type=text id="txDepartDate" name="DepartDate" class="txdatec" value="<?=Date("m/d/Y",strtotime("+1 day"))?>"  /></td>
					<td><?=$home_Return ?>:</td>
					<td><input type=text id="txReturnDate" name="ReturnDate" disabled1 class="txdisabled" /></td>
				</tr>
				<tr height=55 >
					<td colspan=4 align=center >
						<input type="submit" name="mysubmit" class="btnguam" value="<?=$home_Find?>" />
						<input type="button" name="bbb" class="btnguam" value="My Flights" onclick="gotomyorder()" />
						
					</td>
				</tr>
			</table><?php
			echo form_close("");
			?></td>	
		</tr>
	</table>	
	</div><!--查询框-->
	
	<p><strong><span style="text-decoration: underline">Guam to Saipan flights:</span></strong></p>
	<p><img class="alignnone size-full wp-image-189" src="<?=site_url("images/flyguam/GUM-SPN-schedule1.gif")?>" alt="" width="592" height="133" /></p>
	<p>&nbsp;</p>
	<p><strong><span style="text-decoration: underline">Guam / Saipan to Hong Kong flights:</span></strong></p>
	<p><img class="alignnone size-full wp-image-190" src="<?=site_url("images/flyguam/SPN-HKG-schedule.gif")?>" alt="" width="592" height="202" /></p>
</div>
<script language="javascript">
$(document).ready(function(){
	enabledbackround(0)	
});
function gotomyorder()
{
	window.location="queryorder";
}
	
</script>
<?php $this->load->view('flyguam/_footer') ?>